aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]/dashboard
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-12 03:31:54 -0800
committerAdam Soltys <[email protected]>2022-11-12 03:31:54 -0800
commit7331eb110b13a6b063ec22176c612cb26940e4bd (patch)
treebebd0627075bc2e27f9a01bfb615914a9e62bdaf /src/routes/(app)/[username]/dashboard
parenta52b8873712b679e1156b9ddc4a554384aa3559a (diff)
downloadcoinos-ui-7331eb110b13a6b063ec22176c612cb26940e4bd.tar.gz
coinos-ui-7331eb110b13a6b063ec22176c612cb26940e4bd.zip
requests flow
Diffstat (limited to 'src/routes/(app)/[username]/dashboard')
-rw-r--r--src/routes/(app)/[username]/dashboard/+page.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/routes/(app)/[username]/dashboard/+page.svelte b/src/routes/(app)/[username]/dashboard/+page.svelte
index 3cba081d..ffefc1be 100644
--- a/src/routes/(app)/[username]/dashboard/+page.svelte
+++ b/src/routes/(app)/[username]/dashboard/+page.svelte
@@ -57,8 +57,8 @@
</script>
<div class="container px-4 max-w-md mx-auto mt-20 space-y-12">
- <div>
- <div class="text-5xl font-bold mb-2">
+ <div class="mt-24 space-y-2">
+ <div class="text-5xl font-bold">
{$selectedRate ? f(accountBalanceFiat, user.currency) : $t('user.dashboard.fetchingRate')}
</div>
@@ -109,16 +109,16 @@
<div class="text-secondary">{sat(amount)}</div>
</div>
<div class="flex ml-auto my-auto gap-2">
- <a href={`/invoice/${uuid}`}>
+ <a href={`/invoice/${uuid}/tip`}>
<div class="p-2 border rounded-xl bg-white flex">
<Icon icon="send" style="w-8 opacity-50 hover:opacity-100" />
</div>
</a>
- <a href={`/invoice/${uuid}`}>
+ <form action="/request?/delete" method="POST">
<div class="p-2 border rounded-xl bg-white flex">
<Icon icon="close" style="w-8 opacity-50 hover:opacity-100" />
</div>
- </a>
+ </form>
</div>
</div>
</div>
@@ -150,7 +150,7 @@
</div>
</div>
-<div class="flex fixed bottom-4 w-full px-4">
+<div class="flex fixed w-full px-4 bg-white py-2 bottom-0">
<div class="text-secondary flex mr-auto">
<div class="flex mr-1">
<div class="my-auto mr-1">1</div>